home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
3_0
/
BEACH__
/
STANDARD.H
< prev
Wrap
Text File
|
1988-01-06
|
949b
|
60 lines
/*
standards.h -- standard types and constants used in all DW's programs in Lightspeed C.
*/
/*constants*/
#define true -1
#define false 0
#define emptystring &"\p"
#define chhome ((char) 1)
#define chend ((char) 4)
#define chhelp ((char) 5)
#define chpageup ((char) 11)
#define chpagedown ((char) 12)
#define chdelete ((char) 127)
#define chrightarrow ((char) 29)
#define chleftarrow ((char) 28)
#define chuparrow ((char) 30)
#define chdownarrow ((char) 31)
#define chtab ((char) '\t')
#define infinity 32767
#define lenbigstring 255
#define scrollbarwidth 16
#define sizegrowicon 15 /*it's square, this is the length of each side*/
#define menubarheight 20
#define nil 0L
/*types*/
#define boolean int
#define bigstring Str255
typedef char *ptrchar;
typedef int *ptrint;
/*macros*/
#define sysbeep SysBeep (1) /*this one is driving me absolutely crazy*/
#define mod %
#define div /